<?php  
	use think\Upload;
 
		    $filename = $_POST['imagename'];  
		    if(!empty($filename)){  
		        unlink('upload/small_img/'.$filename);  
		        echo '1';  
		    }else{  
		        echo '删除失败.';  
		    }  

?>  